import {
  post,
  get,
  get_from,
  up_excel
} from '../utils/serveice'

//违规列表
export function getWeigui(url, data) {
  return post(url, data)
}

//增加违规数据
export function addData(url, data) {
  return post(url, data)
}

//修改违规数据
export function updateData(url, data) {
  return post(url, data)
}

//根据id获得数据
export function getDatabyid(url, data) {
  return post(url, data)
}

//根据id删除数据
export function delData(url, data) {
  return post(url, data)
}


//导出
export function exportData(url) {
  return get(url)
}
